package com.seed.core.configuration;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.seed.core.enumeration.StatType;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class StatConfiguration {
    private String name;
    private String label;
    private String comment;
    private StatType type;
    private String declare; // 统计申明
    private String[] searches; // 统计条件

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public StatType getType() {
        return type;
    }

    public void setType(StatType type) {
        this.type = type;
    }

    public String getDeclare() {
        return declare;
    }

    public void setDeclare(String declare) {
        this.declare = declare;
    }

    public String[] getSearches() {
        return searches;
    }

    public void setSearches(String[] searches) {
        this.searches = searches;
    }
}
